package com.quanyue.haircut.order.dto;

import com.quanyue.haircut.domain.constant.ReservePayChannel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;
import java.math.BigDecimal;

@Data
@Table
public class ReserveOrderDetail {
    @Column(name = "order_no")
    @ApiModelProperty(required = true, value = "订单号")
    private String orderNo;
    @Column(name = "create_time")
    @ApiModelProperty(required = true, value = "创建时间")
    private String createTime;
    @Column(name = "pay_price")
    @ApiModelProperty(required = true, value = "实际支付价格")
    private BigDecimal payPrice;
    @Column(name = "discount_price")
    @ApiModelProperty(required = true, value = "优惠价格")
    private BigDecimal discountPrice;
    @Column(name = "pay_channel")
    @ApiModelProperty(required = true, value = "支付渠道")
    private ReservePayChannel payChannel;
    @Column(name = "phone")
    @ApiModelProperty(required = true, value = "用户电话")
    private String phone;
    @Column(name = "user_name")
    @ApiModelProperty(required = true, value = "预约客户姓名")
    private String userName;
    @Column(name = "server_content")
    @ApiModelProperty(required = true, value = "服务项目")
    private String serverContent;
    @Column(name = "technician")
    @ApiModelProperty(required = true, value = "预约的技师")
    private Integer technician;
    @Column(name = "technician_name")
    @ApiModelProperty(required = true, value = "技师昵称")
    private String technicianName;
    @Column(name = "technician_image")
    @ApiModelProperty(required = true, value = "技师头像")
    private String technicianImage;
    @Column(name = "technician_grade")
    @ApiModelProperty(required = true, value = "技师等级")
    private String technicianGrade;
    @Column(name = "technician_phone")
    @ApiModelProperty(required = true, value = "技师电话")
    private String technicianPhone;
    @Column(name = "shop_name")
    @ApiModelProperty(value = "店铺名字")
    private String shopName;
}
